nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()
authorBenoît Thébaudeau <[email protected]>
Thu, 11 Apr 2013 09:35:40 +0000 (09:35 +0000)
committerAlbert ARIBAUD <[email protected]>
Fri, 12 Apr 2013 05:55:04 +0000 (07:55 +0200)
commit78ee7b1729f69215a07c44b9895f69bd9a4b58a2
tree07e3ab9bce3f9d2e4712d94be91a8cb7bf40764a
parent68fbc0e68604a3e58c6980e3d934e9741e561174
nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did
not match the page being worked on.

By the way, replace the GCC-specific __FUNCTION__ with __func__.

Signed-off-by: Benoît Thébaudeau <[email protected]>
Acked-by: Scott Wood <[email protected]>
drivers/mtd/nand/mxc_nand.c